home *** CD-ROM | disk | FTP | other *** search
/ ADA Programming Guide / ADA Programming Guide.iso / ada_gnu / adainc / unchconv.ads < prev    next >
Text File  |  1996-01-30  |  2KB  |  26 lines

  1. ------------------------------------------------------------------------------
  2. --                                                                          --
  3. --                         GNAT COMPILER COMPONENTS                         --
  4. --                                                                          --
  5. --                  U N C H E C K E D _ C O N V E R S I O N                 --
  6. --                                                                          --
  7. --                                 S p e c                                  --
  8. --                                                                          --
  9. --                            $Revision: 1.11 $                              --
  10. --                                                                          --
  11. -- This specification is adapted from the Ada Reference Manual for use with --
  12. -- GNAT.  In accordance with the copyright of that document, you can freely --
  13. -- copy and modify this specification,  provided that if you redistribute a --
  14. -- modified version,  any changes that you have made are clearly indicated. --
  15. --                                                                          --
  16. ------------------------------------------------------------------------------
  17.  
  18. pragma Ada_9X;
  19. generic
  20.    type Source (<>) is limited private;
  21.    type Target (<>) is limited private;
  22.  
  23. function Unchecked_Conversion (Source_Object : Source) return Target;
  24. pragma Import (Intrinsic, Unchecked_Conversion);
  25. pragma Pure (Unchecked_Conversion);
  26.